<ion-view title="欢迎使用宝维">
  <ion-nav-bar class="bar-dark"></ion-nav-bar>
  <ion-content scroll="false">
    <div class="list">
      <label class="item item-input">
        <span class="input-label">用户名</span>
        <input type="text" ng-model="user.username" placeholder="手机号/邮箱号">
      </label>
      <label class="item item-input">
        <span class="input-label">密码</span>
        <input type="password" ng-model="user.password" placeholder="请输入密码">
      </label>
    </div>
    <div class="row center">
      <button class="button button-block button-balanced" ng-click="login(user);"> 登录 </button>
    </div>
    <!--<a class="button button-clear button-positive" href="#">忘记密码</a>-->
  </ion-content>
</ion-view>
